package com.mdinic.blogovi.front.common.login;

import java.io.Serializable;

import org.hibernate.validator.constraints.NotBlank;

public class Credentials implements Serializable {

    public static final String EMAIL = "email";
    public static final String PASSWORD = "password";

    private static final long serialVersionUID = 1L;

    @NotBlank
    private String email;
    @NotBlank
    private String password;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
